Repository navigation
lexical: AGENTS.md sends the reader to the superproject's coding guidelines - #1
Merged
Merged
Conversation
added 3 commits
October 26, 2026 11:41
…elines The superproject's rules and design decisions moved to CODING-GUIDELINES.md, whose chapter 15 gives this library's decisions with their reasons; its AGENTS.md says how to work in the tree. Both are read before this file.
… of its own Two generators that fill one cache at once, as the generated lane's tables and patterns do under b2 -j on a fresh CI runner, both downloaded a missing file and wrote it through the same <file>.partial, so the second rename found nothing: lexical's lane failed on 'No such file or directory: ...DerivedCoreProperties.txt.partial'. Reproduced by calling write() from eight processes on one path: 1,220 of 1,600 writes failed before, none after. Each writer's partial file now has a name of its own, removed if the write fails, and the last rename wins with the same checked bytes.
tools/__pycache__/generate_tables.cpython-314.pyc entered with the rename to lexical, and any run of a generator rewrote it. The cache is no longer tracked, and .gitignore keeps every __pycache__/ out, as the superproject's does.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the organization's proposal
coding-guidelines(webcpporg/proposals,organization/openspec/changes/coding-guidelines), accepted on 2026-10-26: the superproject's rules and design decisions now live inCODING-GUIDELINES.md, whose chapter 15 gives this library's decisions with their reasons, and itsAGENTS.mdsays how to work in the tree. This library'sAGENTS.mdnow sends the reader to both.It also fixes what the CI found, which predates this change: two generators filling one Unicode cache at once (the generated lane under b2 -j on a fresh runner) wrote the same
<file>.partial, so the second rename failed withNo such file or directory. Callingwrite()from eight processes on one path failed 1,200 of 1,600 writes before and none after: each writer's partial file now has a name of its own. Locally the lane passes with a warm cache, its output unchanged, and with an empty one under-j4. The Python bytecode cachetools/__pycache__/generate_tables.cpython-314.pyc, tracked by accident since the rename to lexical, leaves the repository, and.gitignorekeeps__pycache__/out.🤖 Generated with Claude Code